package com.amit;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

@WebListener
public class MyListener1  implements ServletContextListener{

	
public MyListener1()
	{
		System.out.println("MyListener1....");
	}
	
@Override
	public void contextInitialized(ServletContextEvent sce) {
		
		System.out.println("ContextInitialized...");
	
	}
	
@Override
	public void contextDestroyed(ServletContextEvent sce) {
		
	System.out.println("contextDestroyed...");
	}
	
	
	
	}
	